var ExamJob={
GetExam:function(JobId)
	{
	LoadAjax.Get(fastCSharp.ThisFunction(this,this.OnGetExam,[JobId]),'/include/examJob.html',{jobId:this.JobId=JobId});
	},
OnGetExam:function(Value,JobId)
	{
	if(this.JobId==JobId)
		{
		fastCSharp.Skins.examJob.Show(Value);
		fastCSharp.FloatCenters.examJob.Show();
		}
	},
Hide:function()
	{
	fastCSharp.FloatCenters.examJob.Hide();
	},
Set:function(ExamId,IsExam,ViewId)
	{
	LoadAjax.Post(fastCSharp.ThisFunction(this,this.OnSet,[fastCSharp.ViewObjects[ViewId],IsExam?-1:1]),IsExam?'enterprise.exam.DeleteJob':'enterprise.exam.AppendJob',{examId:ExamId,jobId:this.JobId});
	},
OnSet:function(Value,View,Count)
	{
	if(Value.__AJAXRETURN__)	View.IsExam.Set(Count>0);
	}
		};